#ifndef QWORLDVIEW_H
#define QWORLDVIEW_H

#include <QGraphicsView>

/**
	@author Stefan Weigert <weigert.stefan@gmail.com>
*/
class QWorldView : public QGraphicsView
{
		Q_OBJECT
	public:
		QWorldView ( QGraphicsScene *scene );

		~QWorldView();

		void setResizeScene ( bool theValue );
		bool getResizeScene() const;


	protected:
		void resizeEvent ( QResizeEvent *event );
		void wheelEvent ( QWheelEvent *event );

	private:
		bool resizeScene;
};

#endif
